package com.rtp.transformer.parser.convert;
/**
 * convert field type when husband parse
 * @author xueming
 * 
 */
public interface IConverter {

	/**
	 * convert to property
	 * @param content husband message field
	 * @param pattern pattern value
	 * @return property value
	 */
	public Object convert(String content,String pattern);
	
	/**
	 * revert to husband field
	 * @param prop property value
	 * @param pattern pattern value
	 * @return husband message field
	 */
	public String revert(Object prop,String pattern);
}
